package com.music.checkpoints.common.convert;

import com.music.checkpoints.common.entity.NationNoanswer;
import com.music.checkpoints.common.vo.NoanswerVO;
import org.springframework.beans.BeanUtils;

public class Noanswer2NoanswerVO {
    public static NoanswerVO convert(NationNoanswer noanswer) {
        NoanswerVO noanswerVO = new NoanswerVO();
        BeanUtils.copyProperties(noanswer, noanswerVO);
        return noanswerVO;
    }
}
